﻿package  
{
	
	/**
	 * ...
	 * @author spe
	 */
	import com.ixiyou.speUI.controls.AlertWindow;
	import flash.display.*;
	import flash.events.*;
	import com.ixiyou.speUI.containers.Application;
	import com.ixiyou.managers.AlertManager;
	public class testAlertManager extends Application
	{
		
		public function testAlertManager() 
		{
			
			
			AlertManager.getInstance().stage=stage
			var a:Sprite= new Sprite();
			a.graphics.beginFill(0x00ff00);
			a.graphics.drawRect(0, 0, 100, 100);
			AlertManager.getInstance().push(a,true,true)
			
			var d:Sprite= new Sprite();
			d.graphics.beginFill(0x00ffff);
			d.graphics.drawRect(0, 0, 50, 50)
			AlertManager.getInstance().push(d, false, false)
			
			AlertManager.getInstance().push(new AlertWindow( { width:400, height:400, label:'------',info:'dddddddd' } ), true, true)
			
			//AlertManager.getInstance().remove(d)
			//AlertManager.getInstance().remove(a)
		//	AlertManager.getInstance().clear()
			
			
		}
		
	}
	
}